using System;
using SBCommon.Data;
using SBCommon.Validation;

namespace SecurityModule.Entity
{
	[Table("[SEC_AttributeValue]")]
    public class AttributeValue
    {
        int _source_id;
        [Column]
        [Validator(Required = true)]
        public int source_id
        {
            get { return _source_id; }
            set { _source_id = value; }
        }
        
        int _attribute_id;
        [Column]
        [Validator(Required = true)]
        public int attribute_id
        {
            get { return _attribute_id; }
            set { _attribute_id = value; }
        }
        
        string _value;
        [Column]
        [Validator(MaxLength = 2000)]
        public string value
        {
            get { return _value; }
            set { _value = value; }
        }
        
    }
}

